// pages/payment/payment.js
Page({

	/**
	 * 页面的初始数据
	 */
	data: {
		data: '',
		http: getApp().globalData.map},

	/**
	 * 生命周期函数--监听页面加载
	 */
	onLoad: function(options) {
		wx.getStorage({
			key:'uid',
			success: (e) => {
				wx.request({
					url: getApp().globalData.http1 + 'action=orderDetail&oid=' + options.id+'&uid='+e.data.uid+'&L='+options.L,
					success: (e) => {
						console.log(e)
						this.setData({
							data: e.data.data
						})
					}
				})
			}
		})
	},
})
